package com.easy.service;

import com.easy.bean.Orderdetails;
import com.easy.util.Page;

import java.util.List;

public interface IOrderdetailsService {
    List<Orderdetails> getOrderdetailsList(Page page, String text);
    int OrderdetailsCount(String text);
    int addOrderdetails(Orderdetails orderdetails);
    int editOrderdetails(Orderdetails orderdetails);
    int deleteOrderdetails(int orderid,int proid);
    List<Orderdetails> getOrderdetailsById(int orderid);
    double totalOrderdetailsPrice(int orderid);
    int insertOrderdetails(int userid,int orderid);
}
